package com.epoch.servicecourse.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Configuration;

import javax.validation.constraints.NotNull;

/**
 * @author admin
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Configuration
public class Video {
    /**
     * 视频编号
     */
    @NotNull(message = "视频编号不能为空")
    private Integer videoId;
    /**
     * 视频名称
     */
    private String videoName;
    /**
     * 视频存放路径
     */
    private String videoPath;
    /**
     * MD5
     */
    private String videoMd5;
    /**
     * 视频大小
     */
    private Long videoSize;
    /**
     * 视频具体内容
     */
    private byte[] videoContent;
}
